package com.sunny;

public class Test {

    public static void main(String[] args) {

        A<Parent> a = new A<>();
        System.out.println(a.add(new Parent(1)));
        System.out.println(a.add(new Son(2,2)));

    }

}
